package com.aaa.dao.fpa;

import com.aaa.entity.fpa.ResultDiv;
import com.aaa.entity.fpa.TestResultFpa;
import com.aaa.entity.fpa.ViewTestResultFpa;
import com.aaa.entity.mht.TestResultMht;
import com.aaa.entity.scl.TestResultScl;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * (ViewTestResultFpa)表数据库访问层
 *
 * @author
 * @since 2022-09-06 10:00:04
 */
public interface ViewTestResultFpaDao {


    /**
     * 查询指定行数据
     *
     * @param viewTestResultFpa 查询条件
     * @return 对象列表
     */
    //查询
    List<ViewTestResultFpa> queryAllByLimit(@Param("viewTestResultFpa") ViewTestResultFpa viewTestResultFpa);

    Long count(ViewTestResultFpa viewTestResult);

    /**
     * @param
     * @return ViewTestResultFpa
     * @description: 根据指定id 查询对应数据
     */
    List<ViewTestResultFpa> queryResultFpaById(ViewTestResultFpa viewTestResultFpa);
    List<TestResultFpa> queryTestResultById(TestResultFpa testResultFpa);
    /**
     * @param
     * @return List<ViewTestResultFpa>
     * @description: 查询所有信息
     */
    List<ViewTestResultFpa> queryAllPlanFpa();

    //根据ID查询数据
    ViewTestResultFpa seleResultFpa(Integer id);

    /**
     * @param
     * @return
     * @description: 查询所有数据 排重
     */
    List<ViewTestResultFpa> queryAllResultPlanFpa(ViewTestResultFpa viewTestResultFpa);

    /**
     * @return List<ResultDiv>
     * @Description 查询对应性格的信息
     * @Param id
     **/
    ResultDiv queryAllDiv(Integer id);

    /**
     * @param id
     * @return
     * @description: 删除测试结果
     */
    /* boolean delResultFpa(List list);*/

    boolean deleteById(@Param("id") int[] id);

    boolean deleteByTesterId(@Param("id") int[] id);
}

